package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Category;

import java.util.List;

/**
* @author 11258
* @description 针对表【category(菜品及套餐分类)】的数据库操作Service
* @createDate 2024-03-21 16:27:12
*/
public interface CategoryService extends IService<Category> {

    R<String> add(Category category);


    void remove(Long id);

    R<String> setById(Category category);

    R<List<Category>> all(Category category);

}
